package com.rightsidetech.trade.dtos.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("订单列表")
public class TdCommodityAppOrderListResp implements Serializable {
    @ApiModelProperty("门店id")
    private Long storeId;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单")
    private String orderStatus;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "实际金额")
    private BigDecimal actualAmount;

    @ApiModelProperty("订单类型, 0-上门服务, 1-到店自取")
    private Byte orderType;

    @ApiModelProperty("用户姓名")
    private String usName;

    @ApiModelProperty("用户手机号")
    private String usPhoneNo;

    @ApiModelProperty("地址")
    private String usAddress;

    @ApiModelProperty("赠品邮寄地址")
    private String giftAddress;

    @ApiModelProperty(value = "经度",required = true)
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度",required = true)
    private BigDecimal latitude;

    @ApiModelProperty("售后有效期, 0-有效, 1-超过售后时间")
    private Byte afterServiceFlag;

    @ApiModelProperty("付款时间")
    private Date payTime;


    @ApiModelProperty("商品列表")
    private List<TdCommodityAppOrderDetailResp> list;

}
